package com.dongke.service;

import com.dongke.pojo.Role1;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RoleService {
    PageInfo<Role1> selectInfo(Role1 role, Integer pageSize, Integer pageNum);

    boolean addRoleInfo(Role1 role, Integer[] mids);

    boolean deleteInfoById(Integer rid);

    Role1 selectById(Integer id);

    boolean updateRoleById(Role1 role, Integer[] mids);

    List<Role1> selectRole();
}
